import 'package:flutter/material.dart';

class Page1 extends StatefulWidget {
  const Page1({Key key, this.params}) : super(key: key);
  final Map<String, dynamic> params;

  @override
  _Page1State createState() => _Page1State();
}

class _Page1State extends State<Page1> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("page1"),
      ),
      body: Container(
        alignment: Alignment.center,
        child: Text("params = ${widget.params?.toString()}"),
      ),
    );
  }
}
